package com.candoit.webapps.pricing.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Embeddable
public class ConsumoPapelMesFK implements Serializable {
	
	private static final long serialVersionUID = -4026497006238246068L;
	
	@ManyToOne
	@JoinColumn(name="id_orden_trabajo", referencedColumnName="id")
	private OrdenTrabajo orden;
	 
	@Column(name = "mes",nullable = false)
	private Integer mes;

	public OrdenTrabajo getOrden() {
		return orden;
	}

	public void setOrden(OrdenTrabajo orden) {
		this.orden = orden;
	}

	public Integer getMes() {
		return mes;
	}

	public void setMes(Integer mes) {
		this.mes = mes;
	}
	
	

}
